package com.solvePlat.dao;

import com.solvePlat.entity.TopicClassification;
import com.solvePlat.entity.TopicClassificationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TopicClassificationMapper {
    int countByExample(TopicClassificationExample example);

    int deleteByExample(TopicClassificationExample example);

    int deleteByPrimaryKey(String uuid);

    int insert(TopicClassification record);

    int insertSelective(TopicClassification record);

    List<TopicClassification> selectByExample(TopicClassificationExample example);

    TopicClassification selectByPrimaryKey(String uuid);

    int updateByExampleSelective(@Param("record") TopicClassification record, @Param("example") TopicClassificationExample example);

    int updateByExample(@Param("record") TopicClassification record, @Param("example") TopicClassificationExample example);

    int updateByPrimaryKeySelective(TopicClassification record);

    int updateByPrimaryKey(TopicClassification record);

    List<TopicClassification>  selectTopicClassificationByWorkInfoId(String uuid);

    List<TopicClassification>  selectTopicClassificationByParent(String uuid);

    List<TopicClassification>  selectTopicClassificatioNotParent(String uuid);
}